export default {
    ssr: false,

    head: {
        title: 'MalwareMultiScan UI',
        meta: [
            {charset: 'utf-8'},
            {name: 'viewport', content: 'width=device-width, initial-scale=1, shrink-to-fit=no'},
        ]
    },

    buildModules: [
        '@nuxt/typescript-build',
    ],

    modules: [
        'bootstrap-vue/nuxt',
        '@nuxtjs/axios',
        '@nuxtjs/proxy'
    ],

    axios: {
        proxy: true,
        prefix: '/api/'
    },

    proxy: {
        '/api': {
            target: process.env.API_URL || 'http://localhost:5000',
            changeOrigin: true
        }
    },

    bootstrapVue: {
        icons: true
    }
}
